<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
	<title>Entrar no sistema</title>

	<style type="text/css">
.divLogar {
	margin-top: 200px;
	width: auto;
	height: auto;
}

.tableLogin {
	margin-top: 200px;
	width: 400px;
	height: 400px;
}

.panelLogin {
	margin-top: 200px;
	width: 400px;
	height: 200px;
}

.formLogin {
	font-family: sans-serif;
	font-size: 15px;
}

.usuario {
	margin: 10px;
}

.senha {
	margin: 10px;
}

.entrar {
	margin: 20px;
	margin-top: 10px;
}
</style>

</h:head>
<body>
	<p:growl id="messages" />
	<div id="divLogar">
		<center>
			<p:panel header="Logar" styleClass="panelLogin">
				<h:form styleClass="formLogin">
					<table id="tableLogin">
						<tr>
							<td>
								<center>
									<h:panelGrid columns="2">
									<h:outputLabel value="Usu&aacute;rio:"/>
									<p:inputText value="#{usuarioSecretariaMB.nomeUsuario}" styleClass="usuario" />
									<h:outputLabel value="Senha:"/>
									<p:password value="#{usuarioSecretariaMB.senha}" styleClass="senha" feedback="false" />
									</h:panelGrid>
									<br />
									<p:commandButton value="Entrar" action="#{usuarioSecretariaMB.efetuarLogin}" ajax="false" id="entrar" />
								</center>
							</td>
						</tr>
					</table>
				</h:form>
			</p:panel>
		</center>
	</div>
</body>
</html>